using System.Data;
using Orchard.ContentManagement.MetaData;
using Orchard.Core.Contents.Extensions;
using Orchard.Data.Migration;
using Orchard.Environment.Extensions;

namespace EMS.HTMLKickStart {
    public class Migrations : DataMigrationImpl {

        public int Create() {
            SchemaBuilder.CreateTable(
                "HTMLKickStartSettingsPartRecord", table => table
                    .ContentPartRecord()
                    .Column<bool>("IsIncludeHTMLKickStartEveryPage")
            );

            return 1;
        }
        
    }
}